import { Routes, Route } from 'react-router-dom'
import Home from './pages/Home'
import Ddesign from './pages/Ddesign'
import HookDemo from './pages/HookDemo'

import './App.css'

function App() {

  return (
    <div className='app'>
      <Routes>
        <Route path='/' element={<Home />} />
        <Route path='/dban' element={<Ddesign />} />
        <Route path='/hook' element={<HookDemo />} />
      </Routes>
    </div>
  )
}

export default App
